﻿using WebApi.Middleware;

namespace WebApi.Extensions;

public static class MiddlewareExtensions
{
    public static IApplicationBuilder UseIpWhitelist(this IApplicationBuilder app)
    {
        app.UseMiddleware<IpWhitelistMiddleware>();

        return app;
    }
}
